!'use strict';
let projectController = require('../../../app/controller/back/operate/projectController');
projectController = ModelProxy(projectController);
let router = require('express').Router();

//项目管理
router.get('/page', projectController.projectPage);
router.post('/list', projectController.projectList);
//项目管理——创建
router.get('/create/page', projectController.projectCreatePage);
router.post('/create/save', projectController.projectCreateSave);
//项目管理——详情
router.get('/detail/page', projectController.projectDetailPage);
router.post('/detail/data', projectController.projectDetail);
router.post('/detail/list', projectController.projectDetailList);
//项目管理——查看参数
router.get('/detail/paramPage', projectController.projectParamPage);
router.post('/detail/paramData', projectController.projectParamData);
//项目管理——修改
router.get('/update/page', projectController.projectUpdatePage);
router.post('/update/save', projectController.projectUpdateSave);
//项目管理——修改参数
router.get('/update/paramPage', projectController.paramUpdatePage);
router.post('/update/paramSave', projectController.paramUpdateSave);
//项目管理——删除
router.post('/delete', projectController.projectDelete);

module.exports = router;